﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using KhachSan.Process.Public;

namespace KhachSan.Process.Private.Bo
{
    public partial class F_ThongTinPhong : Form
    {
        public F_ThongTinPhong()
        {
            InitializeComponent();
        }

        public LabelControl _LoaiPhong
        {
            get { return this.lbLoaiPhong; }
            set { this.lbLoaiPhong = value; }
        }
        public LabelControl _KieuPhong
        {
            get { return this.lbKieuPhong; }
            set { this.lbKieuPhong = value; }
        }
        public LabelControl _Gia1Nguoi
        {
            get { return this.lbGia1Nguoi; }
            set { this.lbGia1Nguoi = value; }
        }
        public LabelControl _Gia2Nguoi
        {
            get { return this.lbGia2Nguoi; }
            set { this.lbGia2Nguoi = value; }
        }
        public LabelControl _Gia3Nguoi
        {
            get { return this.lbGia3Nguoi; }
            set { this.lbGia3Nguoi = value; }
        }
        public LabelControl _Gia4Nguoi
        {
            get { return this.lbGia4Nguoi; }
            set { this.lbGia4Nguoi = value; }
        }
        public LabelControl _GiaThemNguoiLon
        {
            get { return this.lbGiaThemNguoiLon; }
            set { this.lbGiaThemNguoiLon = value; }
        }
        public LabelControl _GiaThemTreEm
        {
            get { return this.lbGiaThemTreEm; }
            set { this.lbGiaThemTreEm = value; }
        }
        public LabelControl _TrangThai
        {
            set { lbTrangThai = value; }
            get { return lbTrangThai; }
        }
        private void F_ThongTinPhong_Load(object sender, EventArgs e)
        {
           XLDuLieu.LoadCombobox("Select * From TrangThaiPhong","TrangThai","MaTTP",cbTrangThai);
         
        }
        private void bnDatPhong_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void bnTroLai_MouseHover(object sender, EventArgs e)
        {
            bnTroLai.BackgroundImage = Image.FromFile(Application.StartupPath + "/Hinh_Bo/left_round-48-white.png");
        }

        private void bnTroLai_MouseLeave(object sender, EventArgs e)
        {
            bnTroLai.BackgroundImage = Image.FromFile(Application.StartupPath + "/Hinh_Bo/left_round-48.png");
        }

        private void cbTrangThai_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

    }
}